package com.cloudbroker.bcs.platform.dav.bizapi.t2service.common;

import com.cloudbroker.bcs.common.entity.HSBCPSBackVO;
import com.cloudbroker.bcs.platform.dav.bizapi.constants.IFSFunctionIdsNew;
import com.cloudbroker.bcs.platform.dav.bizapi.service.common.file.vo.FileDownloadParam;
import com.cloudbroker.bcs.platform.dav.bizapi.service.common.file.vo.FileUploadParam;
import com.hundsun.jresplus.remoting.impl.annotation.Service;
import com.hundsun.jresplus.remoting.impl.annotation.ServiceModule;
import com.hundsun.jresplus.remoting.impl.annotation.ServiceParam;

/**
 * Created by xuyn15828 on 2016/3/15.
 */
@ServiceModule
public interface FileT2BizService {
    /**
     * DAVC0001
     * 上传文件
     * */
    @Service(functionId = IFSFunctionIdsNew.IFSDavCommFuncIds.FUNC_FILE_UPLOAD, desc = "上传文件")
    public HSBCPSBackVO uploadFile(@ServiceParam("param") FileUploadParam param);

    /**
     * DAVC0002
     * 下载文件
     * */
    @Service(functionId = IFSFunctionIdsNew.IFSDavCommFuncIds.FUNC_FILE_DOWNLOAD , desc = "下载文件")
    public HSBCPSBackVO  downloadFile(@ServiceParam("param") FileDownloadParam param);
}
